<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.3.0">

  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha256-Z1K5uhUaJXA7Ll0XrZ/0JhX4lAtZFpT6jkKrEDT0drU=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/themes/pink/pace-theme-minimal.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.2.4/pace.min.js" integrity="sha256-gqd7YTjg/BtfqWSwsJOvndl0Bxc8gFImLEkXQT8+qj0=" crossorigin="anonymous"></script>

<script class="next-config" data-name="main" type="application/json">{"hostname":"zonggc.github.io","root":"/","images":"/images","scheme":"Gemini","darkmode":false,"version":"8.14.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":true,"style":"flat"},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":true,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script>

    <meta name="description" content="docker 清理镜像，进程，拉去镜像，查找镜像，标记，运行等常用命令">
<meta property="og:type" content="article">
<meta property="og:title" content="docker 常用命令">
<meta property="og:url" content="https://zonggc.github.io/docker/docker/docker-command/index.html">
<meta property="og:site_name" content="无敌的帽子">
<meta property="og:description" content="docker 清理镜像，进程，拉去镜像，查找镜像，标记，运行等常用命令">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2022-12-24T09:16:04.000Z">
<meta property="article:modified_time" content="2022-12-25T11:07:03.520Z">
<meta property="article:author" content="zonggc">
<meta property="article:tag" content="docker">
<meta name="twitter:card" content="summary">


<link rel="canonical" href="https://zonggc.github.io/docker/docker/docker-command/">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"https://zonggc.github.io/docker/docker/docker-command/","path":"docker/docker/docker-command/","title":"docker 常用命令"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>docker 常用命令 | 无敌的帽子</title>
  






  <script async defer data-website-id="" src=""></script>

  <script defer data-domain="" src=""></script>

  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <div class="column">
      <header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <p class="site-title">无敌的帽子</p>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">zonggc.github.io</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger" aria-label="搜索" role="button">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-schedule"><a href="/schedule/" rel="section"><i class="fa fa-calendar fa-fw"></i>日程表</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup"><div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off" maxlength="80"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close" role="button">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div class="search-result-container no-result">
  <div class="search-result-icon">
    <i class="fa fa-spinner fa-pulse fa-5x"></i>
  </div>
</div>

    </div>
  </div>

</header>
        
  
  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E6%B8%85%E7%90%86"><span class="nav-number">1.</span> <span class="nav-text">清理</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-pull-%EF%BC%88%E6%8B%89%E5%8F%96%E9%95%9C%E5%83%8F%EF%BC%89"><span class="nav-number">2.</span> <span class="nav-text">docker pull （拉取镜像）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-search%EF%BC%88%E6%9F%A5%E6%89%BE%E9%95%9C%E5%83%8F%EF%BC%89"><span class="nav-number">3.</span> <span class="nav-text">docker search（查找镜像）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-images%EF%BC%88%E5%88%97%E5%87%BA%E6%9C%AC%E5%9C%B0%E9%95%9C%E5%83%8F%E5%88%97%E8%A1%A8%EF%BC%89"><span class="nav-number">4.</span> <span class="nav-text">docker images（列出本地镜像列表）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-rmi%EF%BC%88%E5%88%A0%E9%99%A4%E9%95%9C%E5%83%8F%EF%BC%89"><span class="nav-number">5.</span> <span class="nav-text">docker rmi（删除镜像）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-tag%EF%BC%88%E6%A0%87%E8%AE%B0%E6%9C%AC%E5%9C%B0%E9%95%9C%E5%83%8F%EF%BC%8C%E5%B0%86%E5%85%B6%E5%BD%92%E5%85%A5%E6%9F%90%E4%B8%AA%E4%BB%93%E5%BA%93%EF%BC%89"><span class="nav-number">6.</span> <span class="nav-text">docker tag（标记本地镜像，将其归入某个仓库）</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#docker-run-%EF%BC%88%E8%BF%90%E8%A1%8C%E5%AE%B9%E5%99%A8%EF%BC%89"><span class="nav-number">7.</span> <span class="nav-text">docker run （运行容器）</span></a></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="zonggc"
      src="https://avatars.githubusercontent.com/u/43042779?v=4">
  <p class="site-author-name" itemprop="name">zonggc</p>
  <div class="site-description" itemprop="description">欢迎回来</div>
</div>
<div class="site-state-wrap animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">11</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">6</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">7</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author animated">
      <span class="links-of-author-item">
        <a href="https://github.com/zonggc" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;zonggc" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
  </div>
<div class="cc-license animated" itemprop="sponsor">
  <a href="https://www.netlify.com" class="cc-opacity" title="Deploy with Netlify → https://www.netlify.com" target="_blank"><img width="80" src="https://www.netlify.com/img/global/badges/netlify-dark.svg" alt="Netlify"></a>
</div>

        </div>
      </div>
        <div class="back-to-top animated" role="button" aria-label="返回顶部">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>
    </div>

    
  </aside>


    </div>

    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://zonggc.github.io/docker/docker/docker-command/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="https://avatars.githubusercontent.com/u/43042779?v=4">
      <meta itemprop="name" content="zonggc">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="无敌的帽子">
      <meta itemprop="description" content="欢迎回来">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content="docker 常用命令 | 无敌的帽子">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          docker 常用命令
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2022-12-24 17:16:04" itemprop="dateCreated datePublished" datetime="2022-12-24T17:16:04+08:00">2022-12-24</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2022-12-25 19:07:03" itemprop="dateModified" datetime="2022-12-25T19:07:03+08:00">2022-12-25</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">分类于</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/docker/" itemprop="url" rel="index"><span itemprop="name">docker</span></a>
        </span>
    </span>

  
    <span class="post-meta-break"></span>
    <span class="post-meta-item" title="本文字数">
      <span class="post-meta-item-icon">
        <i class="far fa-file-word"></i>
      </span>
      <span class="post-meta-item-text">本文字数：</span>
      <span>570</span>
    </span>
    <span class="post-meta-item" title="阅读时长">
      <span class="post-meta-item-icon">
        <i class="far fa-clock"></i>
      </span>
      <span class="post-meta-item-text">阅读时长 &asymp;</span>
      <span>2 分钟</span>
    </span>
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
        <p>docker 清理镜像，进程，拉去镜像，查找镜像，标记，运行等常用命令</p>
<span id="more"></span>

<h4 id="清理"><a href="#清理" class="headerlink" title="清理"></a>清理</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">清理 &lt;none&gt;的镜像</span></span><br><span class="line">docker rmi -f `docker images -a | grep '&lt;none&gt;'|awk '{print $3}'`</span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">清理 Exited 状态的容器</span></span><br><span class="line">docker rm `docker ps -a |grep Exited |awk '{print $1}'`</span><br><span class="line"></span><br><span class="line">—删除所有未占用的存储卷：</span><br><span class="line">docker volume prune</span><br><span class="line">—删除所有已停止的容器：</span><br><span class="line">docker container prune</span><br><span class="line">—删除所有未使用的镜像：</span><br><span class="line">docker image prune</span><br><span class="line"></span><br><span class="line">docker system prune -a</span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-pull-（拉取镜像）"><a href="#docker-pull-（拉取镜像）" class="headerlink" title="docker pull （拉取镜像）"></a>docker pull （拉取镜像）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">格式</span><br><span class="line">    docker pull [选项] 镜像名[:版本号]</span><br><span class="line">选项：</span><br><span class="line">    -a      拉取所有镜像</span><br><span class="line">注：</span><br><span class="line">    :版本号 可以不存在，不存在时，获取最新的镜像。</span><br><span class="line"></span><br><span class="line">举例：</span><br><span class="line">    docker pull mysql:8.0.19</span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-search（查找镜像）"><a href="#docker-search（查找镜像）" class="headerlink" title="docker search（查找镜像）"></a>docker search（查找镜像）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">格式：</span><br><span class="line">    docker search [选项] 镜像名</span><br><span class="line">选项：</span><br><span class="line">    -s 指定数       显示 stars 不小于 指定数的镜像。</span><br><span class="line"></span><br><span class="line">举例：</span><br><span class="line">    docker search -s 20 mysql</span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-images（列出本地镜像列表）"><a href="#docker-images（列出本地镜像列表）" class="headerlink" title="docker images（列出本地镜像列表）"></a>docker images（列出本地镜像列表）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br></pre></td><td class="code"><pre><span class="line">格式：</span><br><span class="line">    docker images [选项] [镜像名]</span><br><span class="line">选项：</span><br><span class="line">    -a          列出所有镜像</span><br><span class="line">    -q          只显示镜像 ID（IMAGE ID）</span><br><span class="line">    --no-trunc  显示完整的镜像信息</span><br><span class="line">    --digests   显示镜像摘要信息</span><br><span class="line"></span><br><span class="line">举例：</span><br><span class="line">    [root@localhost ~]# docker images mysql</span><br><span class="line">    [root@localhost ~]# docker images --no-trunc</span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-rmi（删除镜像）"><a href="#docker-rmi（删除镜像）" class="headerlink" title="docker rmi（删除镜像）"></a>docker rmi（删除镜像）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">格式：</span><br><span class="line">    docker rmi [选项] 镜像名</span><br><span class="line">选项：</span><br><span class="line">    -f    强制删除</span><br><span class="line">    </span><br><span class="line">举例：</span><br><span class="line">    docker rmi tomcat</span><br><span class="line"></span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-tag（标记本地镜像，将其归入某个仓库）"><a href="#docker-tag（标记本地镜像，将其归入某个仓库）" class="headerlink" title="docker tag（标记本地镜像，将其归入某个仓库）"></a>docker tag（标记本地镜像，将其归入某个仓库）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">格式：</span><br><span class="line">    docker tag 原镜像名 新镜像名</span><br><span class="line">    </span><br><span class="line">举例：</span><br><span class="line">    [root@localhost ~]# docker tag tomcat:latest mytomcat </span><br></pre></td></tr></tbody></table></figure>

<h4 id="docker-run-（运行容器）"><a href="#docker-run-（运行容器）" class="headerlink" title="docker run （运行容器）"></a>docker run （运行容器）</h4><figure class="highlight shell"><table><tbody><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">运行容器：</span><br><span class="line">    docker run -p 3306:3306 --name mysql \</span><br><span class="line">    -v /usr/mydata/mysql/log:/var/log/mysql \</span><br><span class="line">    -v /usr/mydata/mysql/data:/var/lib/mysql \</span><br><span class="line">    -v /usr/mydata/mysql/conf:/etc/mysql/conf.d \</span><br><span class="line">    -e MYSQL_ROOT_PASSWORD=123456 \</span><br><span class="line">    -d mysql:8.0.19</span><br><span class="line">    </span><br><span class="line">分析：</span><br><span class="line">    docker run -d mysql:8.0.19             以后台的方式运行 mysql 8.0.19 版本的镜像，生成一个容器。</span><br><span class="line">    --name mysql                           容器名为 mysql</span><br><span class="line">    -e MYSQL_ROOT_PASSWORD=123456          设置登陆密码为 123456，登陆用户为 root</span><br><span class="line">    -p 3306:3306                           将容器内部 3306 端口映射到 主机的 3306 端口，即通过 主机的 3306 可以访问容器的 3306 端口</span><br><span class="line">    -v /usr/mydata/mysql/log:/var/log/mysql    将容器的 日志文件夹 挂载到 主机的相应位置</span><br><span class="line">    -v /usr/mydata/mysql/data:/var/lib/mysql   将容器的 数据文件夹 挂载到 主机的相应位置</span><br><span class="line">    -v /usr/mydata/mysql/conf:/etc/mysql/conf.d   将容器的 自定义配置文件夹 挂载到主机的相应位置</span><br><span class="line">    </span><br><span class="line">查看容器是否启动：</span><br><span class="line">    docker ps -a</span><br></pre></td></tr></tbody></table></figure>


    </div>

    
    
    

    <footer class="post-footer"><script src="//sdk.jinrishici.com/v2/browser/jinrishici.js"></script>
<script>
  jinrishici.load((result) => {
    let jrsc = document.getElementById('jrsc');
    const data = result.data;
    let author = data.origin.author;
    let title = '《' + data.origin.title + '》';
    let content = data.content.substr(0, data.content.length - 1);
    let dynasty = data.origin.dynasty.substr(0, data.origin.dynasty.length - 1);
    jrsc.innerText = content + ' @ ' + dynasty + '·' + author + title;
  });
</script>
<div style="text-align: center"><span id="jrsc" >正在加载今日诗词....</span></div>

          <div class="post-tags">
              <a href="/tags/docker/" rel="tag"><i class="fa fa-tag"></i> docker</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/uncategorized/home/" rel="prev" title="主页">
                  <i class="fa fa-chevron-left"></i> 主页
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/kubernetes/kubernetes/deploy/cluster-deploy-1.24.4/" rel="next" title="kubernetes-1.24 集群部署">
                  kubernetes-1.24 集群部署 <i class="fa fa-chevron-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">


<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2022</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">zonggc</span>
</div>
<div class="wordcount">
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-chart-line"></i>
    </span>
      <span>站点总字数：</span>
    <span title="站点总字数">4k</span>
  </span>
  <span class="post-meta-item">
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
      <span>站点阅读时长 &asymp;</span>
    <span title="站点阅读时长">13 分钟</span>
  </span>
</div><script color="0,0,255" opacity="0.5" zIndex="-1" count="99" src="https://lib.baomitu.com/canvas-nest.js/1.0.1/canvas-nest.js"></script>


    </div>
  </footer>

  
  <div class="reading-progress-bar"></div>

  <a href="https://github.com/zonggc" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/pangu/4.0.7/pangu.min.js" integrity="sha256-j+yj56cdEY2CwkVtGyz18fNybFGpMGJ8JxG3GSyO2+I=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/hexo-generator-searchdb/1.4.1/search.js" integrity="sha256-1kfA5uHPf65M5cphT2dvymhkuyHPQp5A53EGZOnOLmc=" crossorigin="anonymous"></script>
<script src="/js/third-party/search/local-search.js"></script>




  <script src="/js/third-party/pace.js"></script>

  





</body>
</html>
